package d01_satic;

public class StaticDemo01 {
    public static void main(String[] args) {
//        了解static关键字的使用
        //1、访问静态变量
        Student.name="张三";
        System.out.println(Student.name);
        Student student1=new Student();
        student1.name="李四";
        Student student2=new Student();
        student2.name="王五";
        System.out.println(student1.name);//王五
    }
}
